import request from '@/utils/request'

export function monitor (data) {
  return request({
    url: '/monitor/monitor',
    method: 'post',
    data
  })
}

export function realtime (data) {
  return request({
    url: '/monitor/realtime',
    method: 'post',
    data
  })
}

export function history (data) {
  return request({
    url: '/monitor/history',
    method: 'post',
    data
  })
}
